package eu.jpereira.trainings.designpatterns.creational.abstractfactory.xml;

import eu.jpereira.trainings.designpatterns.creational.abstractfactory.AbstractFactory;
import eu.jpereira.trainings.designpatterns.creational.abstractfactory.ReportBody;
import eu.jpereira.trainings.designpatterns.creational.abstractfactory.ReportFooter;
import eu.jpereira.trainings.designpatterns.creational.abstractfactory.ReportHeader;

public class XMLAbstract extends AbstractFactory {

	public ReportBody getBody() {
		return new XMLReportBody();
	}
	public ReportFooter getFooter() {
		return new XMLReportFooter();
	}
	public ReportHeader getHeader() {
		return new XMLReportHeader();
	}
}
